package com.dragonwu.model.vo;

import com.dragonwu.model.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 登录成功的返回对象
 *
 * @author DragonWu
 * @since 2022-10-07 15:39
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginVo implements Serializable {
    //用户对象
    private SysUser sysUser;

    //用户权限
    private List<String> authorities;

    //JWT token
    private String token;
}
